package com.dgt.trade.entitys.yifu;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 3.6 出入金
 * 接口功能
 * 对子账户可用资金进行出金或入金
 * URL
 * /api/subtransfers
 * HTTP请求方式
 * PUT
 * 支持格式
 * JSON
 */
public class Subtransfers implements Serializable {
    private String SubAccountID;//	string	16	是	子账户代码
    private String Currency;//	string	10	是	币种，参考币种列表
    private String Direction;//	string	1	是	出金或入金。0-入金，1-出金
    private BigDecimal Amount;//	number	10	是	金额，保留2位小数
    private boolean Position;//	boolean	4	是	当Direction为1时是否判断占用保证金大于0，如果大于0则不能出金
    private String Source;//	string	16	否	来源, 本字段不参与加密
    private String TimeStamp;//	string	13	是	时间戳,13位时间格式
    private String Version;//	string	10	是	版本号，默认值：1.0
    private String SignMsg;//	string	32	是	签名串

    public String getSubAccountID() {
        return SubAccountID;
    }

    public void setSubAccountID(String subAccountID) {
        SubAccountID = subAccountID;
    }

    public String getCurrency() {
        return Currency;
    }

    public void setCurrency(String currency) {
        Currency = currency;
    }

    public String getDirection() {
        return Direction;
    }

    public void setDirection(String direction) {
        Direction = direction;
    }

    public BigDecimal getAmount() {
        return Amount;
    }

    public void setAmount(BigDecimal amount) {
        Amount = amount;
    }

    public boolean isPosition() {
        return Position;
    }

    public void setPosition(boolean position) {
        Position = position;
    }

    public String getSource() {
        return Source;
    }

    public void setSource(String source) {
        Source = source;
    }

    public String getTimeStamp() {
        return TimeStamp;
    }

    public void setTimeStamp(String timeStamp) {
        TimeStamp = timeStamp;
    }

    public String getVersion() {
        return Version;
    }

    public void setVersion(String version) {
        Version = version;
    }

    public String getSignMsg() {
        return SignMsg;
    }

    public void setSignMsg(String signMsg) {
        SignMsg = signMsg;
    }
}
